package com.spring.entities;

import java.util.Arrays;
import java.util.List;
import java.util.Set;
/**
 	用于测试set,array,list
 */
public class RichPerson {
	private String name;
	private String[] hoyyies;
	private List<Car> cars;
	private Set<Integer> scores;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String[] getHoyyies() {
		return hoyyies;
	}
	public void setHoyyies(String[] hoyyies) {
		this.hoyyies = hoyyies;
	}
	public List<Car> getCars() {
		return cars;
	}
	public void setCars(List<Car> cars) {
		this.cars = cars;
	}
	public Set<Integer> getScores() {
		return scores;
	}
	public void setScores(Set<Integer> scores) {
		this.scores = scores;
	}
	@Override
	public String toString() {
		return "RichPerson [name=" + name + ", hoyyies=" + Arrays.toString(hoyyies) + ", cars=" + cars + ", scores="
				+ scores + "]";
	}
	
}
